from .gitlabConnController import gitlalConn


class getListProjects():
    def allProjectLists():
        listProjects = gitlalConn.gl.projects.list()
        listAllProjects = []
        for listProject in listProjects:
            listAllProjects.append(listProject.attributes)

        return listAllProjects

        # print(listProjects[0])
